﻿@model List<DataAccess.DTO.ProductEffect_RecentDTO>
@{
    ViewBag.Title = "近期推广业绩";
    int j = 1;
}
@section Styles{
    <link href="~/Content/zk/css/public.css" rel="stylesheet" />
<link href="~/Content/zk/css/tgyj.css" rel="stylesheet" />

}
<div class="person-top back-w" style="max-width:640px">
    @foreach (var item in Model)
    {

        if (item.type == "今日成交汇总")
        {
            <div class="j_box">
                <div class="usertx userNhz f_62a8ea">
                    <div style="width:100%;font-size:16px;padding-left:10px; color:#fff">今日成交汇总<em class="cur"></em></div>
                </div>
                <div class="number-box color_1">
                    <div class="item">
                        <div class="type-name">订单数量</div>
                        <div class="type-number">@item.paynum</div>
                    </div>
                    <div class="item">
                        <div class="type-name">订单佣金</div>
                        <div class="type-number">@item.estimate.ToString("C")</div>
                    </div>
                </div>
            </div>

        }
        else
        {


            j++;
            <div class="j_box animation_@(j)">
                <div class="usertx userNhz tab_@(j)">
                    <div style="width:100%;font-size:16px;padding-left:10px; color:#fff">@item.type<em class="cur"></em></div>
                </div>
                <div class="number-box color_@(j)">
                    <div class="item">
                        <div class="type-name">订单数量</div>
                        <div class="type-number">@item.paynum</div>
                    </div>
                    <div class="item">
                        <div class="type-name">点击数</div>
                        <div class="type-number">@item.clicknum</div>
                    </div>
                    <div class="item">
                        <div class="type-name">预估佣金</div>
                        <div class="type-number">@item.estimate.ToString("C")</div>
                    </div>
                    <div class="item">
                        <div class="type-name">结算</div>
                        <div class="type-number">@item.income.ToString("C")</div>
                    </div>
                </div>
            </div>
        }
    }
</div>
